package cn.wusifx.zabbix;

import cn.wusifx.zabbix.request.BaseRequest;
import cn.wusifx.zabbix.response.BaseResponse;
import feign.Headers;
import feign.Param;
import feign.RequestLine;

interface Api {
    @RequestLine("POST /{url}")
    @Headers("Content-Type: application/json-rpc")
    <T> BaseResponse<T> jsonrpc(BaseRequest baseRequest, @Param("url") String url);
}
